<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <!-- 设置media查询，两套css -->
    <link rel="stylesheet" href="pc.css" media="(min-device-width:1000px)" />
    <link rel="stylesheet" href="mobile.css" media="(min-device-width:300px) and (max-device-width:999px)" >
  </head>
  <body>
        <header>
            <div class="banner"></div>
        </header>
        <section>
            <div class="category">
                <ul>
                    <li>分类1</li>
                    <li>分类2</li>
                    <li>分类3</li>
                    <li>分类4</li>
                    <li>分类5</li>
                    <li>分类6</li>
                </ul>
            </div>
            <div class="pic_area">
                <ul>
                    <li>图片</li>
                    <li>图片</li>
                    <li>图片</li>
                    <li>图片</li>
                    <li>图片</li>
                    <li>图片</li>
                    <li>图片</li>
                    <li>图片</li>
                </ul>
            </div>
        </section>

  </body>
</html>
